-- GENERATED SPELL FOR [Fulgorge] --


function spell0_18678(pUnit, Event) --@Poison Spit,n/a--
pUnit:FullCastSpellOnTarget(32330,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18678', 12500, 1)
end

function Sorts_18678(pUnit, Event)
local choix_sorts_18678 = math.random(0, 0)
if choix_sorts_18678 == 0 then
pUnit:RegisterEvent('spell0_18678', 1, 1)
end
end

function mob18678_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18678', math.random(1500, 3000), 1)
end

function mob18678_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18678_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18678_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18678, 1, 'mob18678_Action')
RegisterUnitEvent(18678, 2, 'mob18678_Leave')
RegisterUnitEvent(18678, 3, 'mob18678_Kill')
RegisterUnitEvent(18678, 4, 'mob18678_Die')
